package cn.kgc.service.impl;
/*
 * @Author wangchangsheng
 * @Date 2023/5/26
 * @PackageName:cn.kgc.service.impl
 * @ClassName: CarServiceServiceimpl
 * @Description: TODO
 */


import cn.kgc.bean.pojo.CarService;
import cn.kgc.mapper.CarServiceMapper;
import cn.kgc.service.CarServiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("carServiceService")
public class CarServiceServiceimpl implements CarServiceService {

    @Resource
    CarServiceMapper carServiceMapper;


    @Override
    public List<CarService> info(String number) {
        return carServiceMapper.info(number);
    }

    @Override
    public boolean verification(CarService carService) {
        int asd = carServiceMapper.verification(carService);
        if (asd>0){
            return  true;
        }
        return false;
    }
}
